#############################################################################
raw data:

- PPP loan information and the Economic Injury Disaster Loan (EIDL) raw data available from the SBA at: 
https://data.sba.gov/dataset/ppp-foia
https://data.sba.gov/dataset/covid-19-eidl


- all other microdata comes from the Bureau of Labor Statistics and needs a special agreement for access. Outside researchers can apply for access to the microdata here: https://www.bls.gov/rda/home.htm
- The BLS microdata used are the 2017 - 2021 Longitudinal Data Base (LDB), the 2017 - 2021 Quarterly Census of Employment and Wages (QCEW), the 2020 Business Response Survey (BRS), and the 2020 - 2021 Current Employment Statistics (CES) survey. 



#############################################################################
data editing:
files called for data editing
.py
- gives necessary functions for doing record linkage between PPP and LDB 

CRppppt1.py
- edits addresses
CRppppt2
- merging ppp to ldb

ANpppv6 makes pppagg files
- only using the very beginning
- unzips files then makes pppagg files

ANpppv12pt1
- makes totals and counts by tract - 4 digit industry

ANppp_ldbv1
---makes files for event study analysis

ANppp_ldbv1_2019
--- makes 2019 data




#############################################################################
analysis

ANppp_matchrate
- matches to BRS

Event study R files 

source("/home/dalton_m/ppp/ANldb_pppv7.R")

source("/home/dalton_m/ppp/ANldb_pppv7_2019.R")

source("/home/dalton_m/ppp/ANldb_pppv7_cutoff.R")

source("/home/dalton_m/ppp/ANldb_pppv7_noclose.R")

source("/home/dalton_m/ppp/ANldb_pppv7clean.R")

source("/home/dalton_m/ppp/ANldb_pppv7clean2.R")

source("/home/dalton_m/ppp/ANldb_pppv7_size.R")

source("/home/dalton_m/ppp/ANldb_pppv7_uistate.R")


ANpppv11
----takes results and makes graphs and tables
